<?php
// +----------------------------------------------------------------------
// | IPHP
// +----------------------------------------------------------------------
// | This is an open source and simple PHP FrameWork.
// +----------------------------------------------------------------------
// | $Id$
// +----------------------------------------------------------------------

// 存储引擎

namespace IPHP\Core;

class Storage {
    static protected $s;

    /**
     * 初始化
     * @return [type] [description]
     */
    static public function init() {
        $class = 'IPHP\\Storage\\'.ucwords(STORAGE_TYPE);
        self::$s = new $class($options);
    }

    static public function __callStatic($method,$args) {
        if(method_exists(self::$s,$method)) {
            return call_user_method_array($method, self::$s, $args);
        }
    }

}